package com.cloud.note.dto.note;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class BatchOperationRequest {

    @NotEmpty(message = "笔记ID列表不能为空")
    private List<String> noteIds;

    @NotNull(message = "操作类型不能为空")
    private String operation;

    private Boolean value;
}